package com.am.mosl.cityandroid.constant;

/**
 * Created by mosl on 14-7-4. Http常量
 */
public class HttpConstant {
    public static final String hostUrl ="http://182.92.236.112/";

	// 获取城市栏目
	public static final String ColomnHttp = hostUrl+"yanjiao/admin.php?m=Api&a=getcolumns";

	// 获取置顶文章
	public static final String HeadArticle = hostUrl+"yanjiao/admin.php?m=Api&a=getcontenttop";

	// 获取文章列表
	public static final String ArticleList = hostUrl+"yanjiao/admin.php?m=Api&a=getcontentlist";

	// 获取文章详情
	public static final String ArticleDetail = hostUrl+"yanjiao/admin.php?m=Api&a=getcontentdetail";

	// 用户报名
	public static final String UserJoinHttp = hostUrl+"yanjiao/admin.php?m=Api&a=registration";

	// 获得城市列表
	public static final String CityListHttp = hostUrl+"yanjiao/admin.php?m=Api&a=getcitylist";

	// 获取热门城市
	public static final String CityHotListHttp = hostUrl+"yanjiao/admin.php?m=Api&a=gethotcitys";

	// 获取广告
	public static final String AdvertisementHttp = hostUrl+"yanjiao/admin.php?m=Api&a=getadvertisement";

	// 获取用户已报名的活动
	public static final String ActivityedHttp = hostUrl+"yanjiao/admin.php?m=Api&a=getregistration";

	// 获取用户消息
	public static final String GetUserMessage = hostUrl+"yanjiao/admin.php?m=Api&a=getverifycode";

	// 用户留言
	public static final String UserLeaveMessage = hostUrl+"yanjiao/admin.php?m=Api&a=leavemessage";

	// 用户消息阅读接口
	public static final String UserReadMessageHttp = hostUrl+"yanjiao/admin.php?m=Api&a=leavemessage";

	// 获取验证码
	public static final String GetVerifyCode = hostUrl+"yanjiao/admin.php?m=Api&a=getverifycode";

	// 查询验证码
	public static final String SelectVerifyCode = hostUrl+"yanjiao/admin.php?m=Api&a=selectverifycode";

	// 用户注册
	public static final String Register = hostUrl+"yanjiao/admin.php?m=Api&a=register";

	// 用户登录
	public static final String Login = hostUrl+"yanjiao/admin.php?m=Api&a=login";

	// 修改资料
	public static final String UpdateInfo = hostUrl+"yanjiao/admin.php?m=Api&a=updateinfo";

	// 修改头像
	public static final String ChangeHeadImage = hostUrl+"yanjiao/admin.php?m=Api&a=changeheadimage";

	// 找回密码
	public static final String FindPassword = hostUrl+"yanjiao/admin.php?m=Api&a=findpassword";

	// 获取用户消息
	public static final String GetMessage = hostUrl+"yanjiao/admin.php?m=Api&a=getmessage";

	// 用户消息阅读接口
	public static final String ReadMessage = hostUrl+"yanjiao/admin.php?m=Api&a=readmessage";

    //根据城市名字获取id
    public static final String GetIdByCityName=hostUrl+"yanjiao/admin.php?m=Api&a=getcityidbyname";

    //文章详情的url
    public static final String GetArticleDetailHttp=hostUrl+"yanjiao/admin.php?m=Api&a=content&contentId=";


}
